<?xml version="1.0" encoding="UTF-8"?>
<ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="urn:hl7-org:v3 ..\sdschemas\SDA.xsd">

    <!--地域代码  "CN" 代表中国-->
    <realmCode code="CN"/>
    <typeId root="2.16.840.1.113883.1.3" extension="POCD_MT000040"/>
    <templateId root="2.16.156.10011.2.1.1.3"/>
    <!--新生儿访视表单编号 [1..1]  -->
    <id root="2.16.156.10011.1.1.1.1" extension="${docData.id}"/>
    <!--文档类别代码-->
    <code code="HSDB01.02" codeSystem="2.16.156.10011.2.4" codeSystemName="卫生信息共享文档编码体系"/>
    <title>新生儿家庭访视</title>
    <!--文档生效时间 [1..1]-->
    <effectiveTime value="${docData.effectiveTime}"/>
    <!--文档密级  默认值 [1..1] -->
    <confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25" codeSystemName="Confidentiality"
                         displayName="正常访问保密级别"/>
    <!--文档语言 [1..1]  默认值 code="zh-CN" 含义：中文字符编码-->
    <languageCode code="zh-CN"/>
    <setId/>
    <versionNumber/>

    <!--文档记录对象（新生儿）[1]  -->
    <recordTarget contextControlCode="OP">
        <patientRole>
            <!--健康档案标识号-->
            <id root="2.16.156.10011.1.2" extension="${docData.xinShengE.jianKangDABSH}"/>

            <addr use="H">
                <houseNumber>${docData.xinShengE.diZhi}</houseNumber>
                <streetName>${docData.xinShengE.jieDao}</streetName>
                <township>${docData.xinShengE.xiangZhen}</township>
                <county>${docData.xinShengE.qu}</county>

                <city>${docData.xinShengE.shi}</city>
                <state>${docData.xinShengE.sheng}</state>
            </addr>
            <patient>

                <!-- 新生儿身份证号-->
                <id root="2.16.156.10011.1.3" extension="${docData.xinShengE.zhengJianHM}"/>

                <name>${docData.xinShengE.xingMing}</name>
                <!--性别 -->
                <administrativeGenderCode code="${docData.xinShengE.xingBie.code}"
                                          displayName="${docData.xinShengE.xingBie.displayName}"
                                          codeSystem="2.16.156.10011.2.3.3.4" codeSystemName="生理性别代码表(GB/T 2261.1)"/>
                <!-- 出生日期-->
                <birthTime value="${docData.xinShengE.chuShengRQ}"/>
                <!--监护人-->
                <#list docData.xinShengE.jianHuR as item>
                    <guardian>
                        <code code="${item.codeObject.code}" displayName="${item.codeObject.displayName}"
                              codeSystem="2.16.156.10011.2.3.3.8" codeSystemName="家庭关系代码表（GB/T 4761）"/>
                        <telecom value="${item.jianHuRDH}"></telecom>
                        <guardianPerson>
                            <name>${item.jianHuRXM}</name>
                             <#if item.jianHuRCSRQ??>
                            <birthTime value="${item.jianHuRCSRQ}"></birthTime>
                             </#if>
                            <occupation>
                                <occupationCode code="${item.jianHuRZY.code}"
                                                displayName="${item.jianHuRZY.displayName}"
                                                codeSystem="2.16.156.10011.2.3.3.7"
                                                codeSystemName="职业类别代码表(GB/T 6565)"></occupationCode>
                            </occupation>
                        </guardianPerson>
                    </guardian>
                </#list>
            </patient>
        </patientRole>
    </recordTarget>

    <!--创建者-->
    <#--<author typeCode="AUT" contextControlCode="OP">
        <!-- 本次访视日期 &ndash;&gt;
        <time xsi:type="TS" value="${docData.chuangJianZ.fangShiRQ}"/>
        <assignedAuthor classCode="ASSIGNED">
            <id root="2.16.156.10011.1.7" extension="${docData.chuangJianZ.chuanJianZId}"/>
            <!-- 随访医生 &ndash;&gt;
            <assignedPerson>
                <name>${docData.chuangJianZ.suiFangYSXM}</name>
            </assignedPerson>
            <representedOrganization>
                <id root="2.16.156.10011.1.5" extension="${docData.chuangJianZ.hospitalId}"/>
                <name>${docData.chuangJianZ.hospitalName}</name>
                <addr>${docData.chuangJianZ.hospitalAdress}</addr>
            </representedOrganization>
        </assignedAuthor>
    </author>-->
    <#include "fragment/header/author.ftl">

    <!--文档管理机构信息[1..1] -->
    <#--<custodian typeCode="CST">
        <assignedCustodian classCode="ASSIGNED">
            <representedCustodianOrganization classCode="ORG" determinerCode="INSTANCE">
                <id root="2.16.156.10011.1.6" extension="${docData.custodian.id}"/>
                <name>${docData.custodian.name}</name>
                <telecom value="${docData.custodian.telecom}"/>
                <addr>${docData.custodian.addr}</addr>
            </representedCustodianOrganization>
        </assignedCustodian>
    </custodian>-->
    <#include "fragment/header/custodian.ftl">

    <relatedDocument typeCode="RPLC">
        <parentDocument classCode="DOCCLIN" moodCode="EVN">
            <id root="2.16.156.10011.1.1.1.1" extension="D2011000000"/>
            <setId/>
            <versionNumber value="1"/>
        </parentDocument>
    </relatedDocument>

    <component>
        <structuredBody>
            <!-- 主要健康问题章节-->
            <component>
                <section>
                    <code code="11450-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"
                          displayName="PROBLEM LIST"/>
                    <text/>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE02.10.006.00" displayName="出生孕周" codeSystem="2.16.156.10011.2.2.1"
                                  codeSystemName="卫生信息数据元目录"/>
                            <value xsi:type="PQ" value="${docData.jianKangWT.yunZhou}" unit="周"/>
                        </observation>
                    </entry>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE08.10.013.00" displayName="助产机构名称" codeSystem="2.16.156.10011.2.2.1"
                                  codeSystemName="卫生信息数据元目录"/>
                            <value xsi:type="ST">${docData.jianKangWT.zhuCanJGMC}</value>
                        </observation>
                    </entry>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE02.10.055.00" displayName="母亲妊娠合并症" codeSystem="2.16.156.10011.2.2.1"
                                  codeSystemName="卫生信息数据元目录"/>
                            <value xsi:type="ST">${docData.jianKangWT.muQingRCHBZ}</value>
                        </observation>
                    </entry>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE02.10.011.00" displayName="末次分娩方式代码" codeSystem="2.16.156.10011.2.2.1"
                                  codeSystemName="卫生信息数据元目录"/>
                            <value xsi:type="CD" code="${docData.jianKangWT.moCiFMFS.code}"
                                   displayName="${docData.jianKangWT.moCiFMFS.displayName}"
                                   codeSystem="2.16.156.10011.2.3.1.10" codeSystemName="分娩方式代码表"/>
                        </observation>
                    </entry>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE02.10.086.00" displayName="新生儿窒息标志" codeSystem="2.16.156.10011.2.2.1"
                                  codeSystemName="卫生信息数据元目录"/>
                            <value xsi:type="BL" value="${docData.jianKangWT.xinShengEZXBZ}"></value>
                        </observation>
                    </entry>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE05.10.001.00" displayName="Apgar评分值" codeSystem="2.16.156.10011.2.2.1"
                                  codeSystemName="卫生信息数据元目录"/>
                            <value xsi:type="PQ" value="${docData.jianKangWT.apgarPingFZ}" unit="分"></value>
                        </observation>
                    </entry>

                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE06.00.116.00" displayName="喂养方式类别代码" codeSystem="2.16.156.10011.2.2.1"
                                  codeSystemName="卫生信息数据元目录"/>
                            <value xsi:type="CD" code="${docData.jianKangWT.weiYangFSLB.code}"
                                   displayName="${docData.jianKangWT.weiYangFSLB.displayName}"
                                   codeSystem="2.16.156.10011.2.3.2.16" codeSystemName="喂养方式类别代码表"/>
                            <entryRelationship typeCode="COMP">
                                <observation classCode="OBS" moodCode="EVN">
                                    <code code="DE04.01.042.00" displayName="每天吃奶次数" codeSystem="2.16.156.10011.2.2.1"
                                          codeSystemName="卫生信息数据元目录"/>
                                    <value xsi:type="PQ" value="${docData.jianKangWT.meiTianCNCS}" unit="次/天"/>
                                </observation>
                            </entryRelationship>
                            <entryRelationship typeCode="CAUS">
                                <observation classCode="OBS" moodCode="EVN">
                                    <code code="DE04.01.043.00" displayName="每天吃奶量" codeSystem="2.16.156.10011.2.2.1"
                                          codeSystemName="卫生信息数据元目录"/>
                                    <value xsi:type="PQ" value="${docData.jianKangWT.meiTianCNL}" unit="ml"/>
                                </observation>
                            </entryRelationship>
                            <entryRelationship typeCode="CAUS">
                                <observation classCode="OBS" moodCode="EVN">
                                    <code code="DE04.01.048.00" displayName="呕吐标志" codeSystem="2.16.156.10011.2.2.1"
                                          codeSystemName="卫生信息数据元目录"/>
                                    <value xsi:type="BL" value="${docData.jianKangWT.ouTuBZ}"/>
                                </observation>
                            </entryRelationship>
                        </observation>
                    </entry>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.01.013.00" displayName="新生儿大便性状代码" codeSystem="2.16.156.10011.2.2.1"
                                  codeSystemName="卫生信息数据元目录"/>
                            <value xsi:type="CD" code="${docData.jianKangWT.xinShengEDBXZ.code}"
                                   displayName="${docData.jianKangWT.xinShengEDBXZ.displayName}"
                                   codeSystem="2.16.156.10011.2.3.1.52" codeSystemName="儿童大便性状代码表"/>
                        </observation>
                    </entry>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.01.007.00" displayName="大便次数" codeSystem="2.16.156.10011.2.2.1"
                                  codeSystemName="卫生信息数据元目录"/>
                            <value xsi:type="PQ" value="${docData.jianKangWT.daBianCS}" unit="次/d"/>
                        </observation>
                    </entry>
                </section>
            </component>

            <!--耳章节-->
            <component>
                <section>
                    <code code="10195-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="EAR"/>
                    <text/>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.029.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="耳外观检查异常标志"/>
                            <value xsi:type="BL" value="${docData.er.erWaiJCYCBZ}"/>
                            <entryRelationship typeCode="COMP">
                                <#if docData.er.erWaiJCYCJGMS??>
                                <observation classCode="OBS" moodCode="EVN">
                                    <code code="DE04.10.028.00" codeSystem="2.16.156.10011.2.2.1"
                                          codeSystemName="卫生信息数据元目录" displayName="耳外观检查异常结果描述"/>
                                    <value xsi:type="ST">${docData.er.erWaiJCYCJGMS}</value>
                                </observation>
                                </#if>
                            </entryRelationship>
                        </observation>
                    </entry>

                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.30.042.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="新生儿听力筛查结果代码"/>
                            <value xsi:type="CD" code="${docData.er.xinShengRTLSX.code}"
                                   codeSystem="2.16.156.10011.2.3.2.15" codeSystemName="新生儿听力筛查结果代码表"
                                   displayName="${docData.er.xinShengRTLSX.displayName}"/>
                        </observation>
                    </entry>
                </section>
            </component>
            <!--实验室检查章节-->
            <component>
                <section>
                    <code code="30954-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"
                          displayName=" STUDIES SUMMARY "/>
                    <text/>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.50.087.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="新生儿疾病筛查代码"/>
                            <value xsi:type="CD" code="${docData.shiYanJC.xinShengEJBSX.code}"
                                   codeSystem="2.16.156.10011.2.3.1.88" codeSystemName="新生儿疾病筛查项目代码表"
                                   displayName="${docData.shiYanJC.xinShengEJBSX.displayName}"/>
                        </observation>
                    </entry>
                </section>
            </component>

            <!--章节:生命体征-->
            <component>
                <section>
                    <code code="8716-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"
                          displayName="VITAL SIGNS"/>
                    <text/>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.186.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="体温"/>
                            <value xsi:type="PQ" value="${docData.shengMingTZ.tiWen}" unit="℃"/>
                        </observation>
                    </entry>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.118.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="脉率"/>
                            <value xsi:type="PQ" value="${docData.shengMingTZ.maiLv}" unit="次/min"/>
                        </observation>
                    </entry>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.082.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="呼吸频次"/>
                            <value xsi:type="PQ" value="${docData.shengMingTZ.huXiPL}" unit="次/min"/>
                        </observation>
                    </entry>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.166.00" codeSystem="2.16.156.10011.2.2.1"
                                  codeSystemName="卫生信息数据元目录" displayName="身长"/>
                            <value xsi:type="PQ" value="${docData.shengMingTZ.shenChang}" unit="cm"/>
                        </observation>
                    </entry>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.188.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="体重"/>
                            <value xsi:type="PQ" value="${docData.shengMingTZ.tiZhong}" unit="kg"/>
                        </observation>
                    </entry>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.019.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="出生体重"/>
                            <value xsi:type="PQ" value="${docData.shengMingTZ.chuShengTZ}" unit="g"/>
                        </observation>
                    </entry>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.018.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="出生身长"/>
                            <value xsi:type="PQ" value="${docData.shengMingTZ.chuShengSC}" unit="cm"/>
                        </observation>
                    </entry>
                </section>
            </component>

            <!-- 皮肤章节 -->
            <component>
                <section>
                    <code code="29302-7" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"
                          displayName="INTEGUMENTARY SYSTEM"/>
                    <text/>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.129.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="皮肤检查结果代码"/>
                            <value xsi:type="CD" code="${docData.piFu.piFuJCJG.code}"
                                   codeSystem="2.16.156.10011.2.3.1.58"
                                   codeSystemName="皮肤检查结果代码表" displayName="${docData.piFu.piFuJCJG.displayName}"/>
                        </observation>
                    </entry>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.086.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="黄疸部位代码"/>
                            <value xsi:type="CD" code="${docData.piFu.huangDanBW.code}"
                                   codeSystem="2.16.156.10011.2.3.1.63" codeSystemName="黄疸部位代码表"
                                   displayName="${docData.piFu.huangDanBW.displayName}"/>
                        </observation>
                    </entry>
                </section>
            </component>

            <!--一般外观章节-->
            <component>
                <section>
                    <code code="10210-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"
                          displayName="GENERAL STATUS"/>
                    <text/>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.026.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="新生儿面色代码"/>
                            <value xsi:type="CD" code="${docData.yiBanWG.xinShengEMS.code}"
                                   codeSystem="2.16.156.10011.2.3.1.62" codeSystemName="儿童面色代码表"
                                   displayName="${docData.yiBanWG.xinShengEMS.displayName}"/>
                        </observation>
                    </entry>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE05.10.029.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="新生儿畸形标志"/>
                            <value xsi:type="BL" value="${docData.yiBanWG.xinShengEJXBZ}"/>
                            <entryRelationship typeCode="COMP">
                                <observation classCode="OBS" moodCode="EVN">
                                    <code code="DE02.10.025.00" codeSystem="2.16.156.10011.2.2.1"
                                          codeSystemName="卫生信息数据元目录" displayName="新生儿畸形描述"/>
                                    <value xsi:type="ST">${docData.yiBanWG.xinShengEJXMS}</value>
                                </observation>
                            </entryRelationship>
                        </observation>
                    </entry>
                </section>
            </component>
            <!--头部章节-->
            <component>
                <section>
                    <code code="10199-8" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="HEAD"/>
                    <text/>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.151.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="前囟闭合标志"/>
                            <value xsi:type="BL" value="${docData.touBu.qianLuBHBZ}"/>
                            <entryRelationship typeCode="COMP">
                                <observation classCode="OBS" moodCode="EVN">
                                    <code code="DE04.10.152.00" codeSystem="2.16.156.10011.2.2.1"
                                          codeSystemName="卫生信息数据元目录" displayName="前囟横径"/>
                                    <value xsi:type="PQ" value="${docData.touBu.qianLuHJ}" unit="cm"/>
                                </observation>
                            </entryRelationship>
                            <entryRelationship typeCode="COMP">
                                <observation classCode="OBS" moodCode="EVN">
                                    <code code="DE04.10.153.00" codeSystem="2.16.156.10011.2.2.1"
                                          codeSystemName="卫生信息数据元目录" displayName="前囟纵径"/>
                                    <value xsi:type="PQ" value="${docData.touBu.qianLuZJ}" unit="cm"/>
                                </observation>
                            </entryRelationship>
                            <entryRelationship typeCode="COMP">
                                <observation classCode="OBS" moodCode="EVN">
                                    <code code="DE04.10.154.00" codeSystem="2.16.156.10011.2.2.1"
                                          codeSystemName="卫生信息数据元目录" displayName="前囟张力代码"/>
                                    <value xsi:type="CD" code="${docData.touBu.qianLuZL.code}"
                                           codeSystem="2.16.156.10011.2.3.1.72" codeSystemName="前囟张力代码表"
                                           displayName="${docData.touBu.qianLuZL.displayName}"/>
                                </observation>
                            </entryRelationship>
                        </observation>
                    </entry>
                </section>
            </component>
            <!--眼章节-->
            <component>
                <section>
                    <code code="10197-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"
                          displayName="Physical findings of Eye"/>
                    <text/>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.217.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="眼外观检查异常标志"/>
                            <value xsi:type="BL" value="${docData.yanBu.yanWaiGJCYCBZ}"/>
                            <entryRelationship typeCode="COMP">
                                <observation classCode="OBS" moodCode="EVN">
                                    <code code="DE04.10.216.00" codeSystem="2.16.156.10011.2.2.1"
                                          codeSystemName="卫生信息数据元目录" displayName="眼外观检查异常结果描述"/>
                                    <value xsi:type="ST">${docData.siZhi.siZhiHDDYCBZ}</value>
                                </observation>
                            </entryRelationship>
                        </observation>
                    </entry>
                </section>
            </component>

            <!--四肢章节-->
            <component>
                <section>
                    <code code="10196-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"
                          displayName="EXTREMITIES"/>
                    <text/>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.180.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="四肢活动度异常标志"/>
                            <value xsi:type="BL" value="${docData.yanBu.yanWaiGJCYCBZ}"/>
                            <entryRelationship typeCode="COMP">
                                <observation classCode="OBS" moodCode="EVN">
                                    <code code="DE04.10.179.00" codeSystem="2.16.156.10011.2.2.1"
                                          codeSystemName="卫生信息数据元目录" displayName="四肢活动度异常结果描述"/>
                                    <value xsi:type="ST">${docData.siZhi.siZhiHDDYCJGMS}</value>
                                </observation>
                            </entryRelationship>
                        </observation>
                    </entry>
                </section>
            </component>
            <!--颈部章节-->
            <component>
                <section>
                    <code code="11411-6" codeSystem="2.16.840.1.113883.6.1" displayName="NECK"
                          codeSystemName="LOINC"/>
                    <text/>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.104.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="颈部包块标志"/>
                            <value xsi:type="BL" value="${docData.jinBu.jinBuBKBZ}"/>
                            <entryRelationship typeCode="COMP">
                                <observation classCode="OBS" moodCode="EVN">
                                    <code code="DE04.10.103.00" codeSystem="2.16.156.10011.2.2.1"
                                          codeSystemName="卫生信息数据元目录" displayName="颈部包块检查结果描述"/>
                                    <value xsi:type="ST">${docData.jinBu.jinBuBKJCJGMS}</value>
                                </observation>
                            </entryRelationship>
                        </observation>
                    </entry>
                </section>
            </component>

            <!--鼻章节-->
            <component>
                <section>
                    <code code="10203-8" codeSystem="2.16.840.1.113883.6.1" displayName="NOSE" codeSystemName="LOINC"/>
                    <text/>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.004.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="鼻检查异常标志"/>
                            <value xsi:type="BL" value="${docData.bi.biJianCYWBZ}"/>
                            <entryRelationship typeCode="COMP">
                                <observation classCode="OBS" moodCode="EVN">
                                    <code code="DE04.10.003.00" codeSystem="2.16.156.10011.2.2.1"
                                          codeSystemName="卫生信息数据元目录" displayName="鼻检查异常结果描述"/>
                                    <value xsi:type="ST">${docData.bi.biJianCYCJGMS}</value>
                                </observation>
                            </entryRelationship>
                        </observation>
                    </entry>
                </section>
            </component>
            <!--口腔、咽喉和牙齿检查章节-->
            <component>
                <section>
                    <code code="10201-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"
                          displayName="EMOUTH and THROAT and TEETH"/>
                    <text/>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.108.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="口腔检查异常标志"/>
                            <value xsi:type="BL" value="${docData.kouQiangYanHouYaChiJC.kouQiangJCYCBZ}"/>
                            <entryRelationship typeCode="COMP">
                                <observation classCode="OBS" moodCode="EVN">
                                    <code code="DE04.10.107.00" codeSystem="2.16.156.10011.2.2.1"
                                          codeSystemName="卫生信息数据元目录" displayName="口腔检查异常结果描述"/>
                                    <value xsi:type="ST">${docData.kouQiangYanHouYaChiJC.kouQiangJCYCJGMS}</value>
                                </observation>
                            </entryRelationship>
                        </observation>
                    </entry>
                </section>
            </component>

            <!--直肠章节-->
            <component>
                <section>
                    <code code="10205-3" displayName="RECTUM" codeSystem="2.16.840.1.113883.6.1"
                          codeSystemName="LOINC"/>
                    <text/>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.063.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="肛门检查异常标志"/>
                            <value xsi:type="BL" value="${docData.zhiChang.gangMenJCYCBZ}"/>
                            <entryRelationship typeCode="COMP">
                                <observation classCode="OBS" moodCode="EVN">
                                    <code code="DE04.10.240.00" codeSystem="2.16.156.10011.2.2.1"
                                          codeSystemName="卫生信息数据元目录" displayName="肛门检查异常结果描述"/>
                                    <value xsi:type="ST">${docData.zhiChang.gangMenJCYCJGMS}</value>
                                </observation>
                            </entryRelationship>
                        </observation>
                    </entry>
                </section>
            </component>

            <!--心脏章节-->
            <component>
                <section>
                    <code code="10200-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="HEART"/>
                    <text/>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.208.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="心脏听诊异常标志"/>
                            <value xsi:type="BL" value="${docData.xingZhang.xingZhangTZYCBZ}"/>
                            <entryRelationship typeCode="COMP">
                                <observation classCode="OBS" moodCode="EVN">
                                    <code code="DE04.10.207.00" codeSystem="2.16.156.10011.2.2.1"
                                          codeSystemName="卫生信息数据元目录" displayName="心脏听诊异常结果描述"/>
                                    <value xsi:type="ST">${docData.xingZhang.xingZhangTZYCJGMS}</value>
                                </observation>
                            </entryRelationship>
                        </observation>
                    </entry>
                </section>
            </component>

            <!--呼吸系统章节-->
            <component>
                <section>
                    <code code="11412-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"
                          displayName="RESPIRATORY SYSTEM"/>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.034.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="肺部听诊异常标志"/>
                            <value xsi:type="BL" value="${docData.huXiXT.feiBuTZYCBZ}"/>
                            <entryRelationship typeCode="COMP">
                                <observation classCode="OBS" moodCode="EVN">
                                    <code code="DE04.10.032.00" codeSystem="2.16.156.10011.2.2.1"
                                          codeSystemName="卫生信息数据元目录" displayName="肺部听诊异常结果描述"/>
                                    <value xsi:type="ST">${docData.huXiXT.feiBuTZYCJGMS}</value>
                                </observation>
                            </entryRelationship>
                        </observation>
                    </entry>
                </section>
            </component>

            <!--生殖器章节-->
            <component>
                <section>
                    <code code="11400-9" codeSystem="2.16.840.1.113883.6.1" displayName="GENITALIA"
                          codeSystemName="LOINC"/>
                    <text/>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.196.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="外生殖器检查异常标志"/>
                            <value xsi:type="BL" value="${docData.shengZhiQi.shengZhiQJCYCBZ}"/>
                            <entryRelationship typeCode="COMP">
                                <observation classCode="OBS" moodCode="EVN">
                                    <code code="DE04.10.195.00" codeSystem="2.16.156.10011.2.2.1"
                                          codeSystemName="卫生信息数据元目录" displayName="外生殖器检查异常结果描述"/>
                                    <value xsi:type="ST">${docData.shengZhiQi.shengZhiQJCYCJGMS}</value>
                                </observation>
                            </entryRelationship>
                        </observation>
                    </entry>
                </section>
            </component>

            <!--腹部章节-->
            <component>
                <section>
                    <code code="10191-5" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"
                          displayName="ABDOMEN"/>
                    <text/>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.047.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="腹部触诊异常标志"/>
                            <value xsi:type="BL" value="${docData.fuBu.fuBuJCYCBZ}"/>
                            <entryRelationship typeCode="COMP">
                                <observation classCode="OBS" moodCode="EVN">
                                    <code code="DE04.10.046.00" codeSystem="2.16.156.10011.2.2.1"
                                          codeSystemName="卫生信息数据元目录" displayName="腹部触诊异常结果描述"/>
                                    <value xsi:type="ST">${docData.fuBu.shengZhiQJCYCJGMS}</value>
                                </observation>
                            </entryRelationship>
                        </observation>
                    </entry>

                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.146.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="脐带脱落标志"/>
                            <value xsi:type="BL" value="${docData.fuBu.qiDaiTLBZ}"/>
                            <entryRelationship typeCode="COMP">
                                <observation classCode="OBS" moodCode="EVN">
                                    <code code="DE04.10.241.00" codeSystem="2.16.156.10011.2.2.1"
                                          codeSystemName="卫生信息数据元目录" displayName="脐带检查结果代码"/>
                                    <value xsi:type="CD" code="${docData.fuBu.qiDaiJCJG.code}"
                                           codeSystem="2.16.156.10011.2.3.1.73" codeSystemName="脐带检查结果代码表"
                                           displayName="${docData.fuBu.qiDaiJCJG.displayName}"/>
                                </observation>
                            </entryRelationship>
                        </observation>
                    </entry>
                </section>
            </component>

            <!--脊柱章节-->
            <component>
                <section>
                    <code code="32476-4" codeSystem="2.16.840.1.113883.6.1" displayName="Physical findings of spine"
                          codeSystemName="LOINC"/>
                    <text/>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE04.10.094.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="脊柱检查异常标志"/>
                            <value xsi:type="BL" value="${docData.jiZhu.jiZhuJCYCBZ}"/>
                            <entryRelationship typeCode="COMP">
                                <observation classCode="OBS" moodCode="EVN">
                                    <code code="DE04.10.093.00" codeSystem="2.16.156.10011.2.2.1"
                                          codeSystemName="卫生信息数据元目录" displayName="脊柱检查异常结果描述"/>
                                    <value xsi:type="ST">${docData.jiZhu.jiZhuJCYCJGMS}</value>
                                </observation>
                            </entryRelationship>
                        </observation>
                    </entry>
                </section>
            </component>

            <!-- 健康指导章节  -->
            <component>
                <section>
                    <code code="69730-0" codeSystem="2.16.840.1.113883.6.1" displayName="Instructions"
                          codeSystemName="LOINC"/>
                    <text/>
                    <#list docData.jianKangZD.jianKangZDLB as item>
                        <entry>
                            <observation classCode="OBS" moodCode="DEF">
                                <code code="DE06.00.051.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录" displayName="健康指导"/>
                                <value code="${item.jianKangZDDetail.code}" codeSystem="2.16.156.10011.2.3.1.193"
                                       codeSystemName="儿童健康指导类别代码表" xsi:type="CD"
                                       displayName="${item.jianKangZDDetail.displayName}"/>
                            </observation>
                        </entry>
                    </#list>
                </section>
            </component>

            <!-- 转诊建议章节 -->
            <component>
                <section>
                    <code code="18776-1" codeSystem="2.16.840.1.113883.6.1" displayName="referal"
                          codeSystemName="LOINC"/>
                    <text/>
                    <entry>
                        <observation classCode="OBS" moodCode="EVN">
                            <code code="DE06.00.174.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="转诊标志"/>
                            <value xsi:type="BL" value="${docData.zhuanZhenJY.zhuanZhenBZ}"></value>
                            <#if docData.zhuanZhenJY.zhuanZhenYY??>
                            <entryRelationship typeCode="CAUS">
                                <act classCode="INFRM" moodCode="APT" negationInd="false">
                                    <code code="DE06.00.177.00" codeSystem="2.16.156.10011.2.2.1"
                                          codeSystemName="卫生信息数据元目录" displayName="转诊原因"/>
                                    <text>${docData.zhuanZhenJY.zhuanZhenYY}</text>
                                    <performer>
                                        <time/>
                                        <assignedEntity>
                                            <id/>
                                            <representedOrganization>
                                                <name>${docData.zhuanZhenJY.zhuanRuKS}</name>
                                                <asOrganizationPartOf>
                                                    <wholeOrganization>
                                                        <name>${docData.zhuanZhenJY.zhuanRuJG}</name>
                                                    </wholeOrganization>
                                                </asOrganizationPartOf>
                                            </representedOrganization>
                                        </assignedEntity>
                                    </performer>
                                </act>
                            </entryRelationship>
                            </#if>
                        </observation>
                    </entry>
                </section>
            </component>

            <!--下次随访安排章节 -->
            <component>
                <section>
                    <code displayName="下次随访安排"/>
                    <text/>
                    <entry>
                        <observation classCode="OBS" moodCode="INT">
                            <code code="DE06.00.109.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="下次随访日期"/>
                            <value xsi:type="TS" value="${docData.xiaCiSFAP.xiaCiSFSJ}"/>
                        </observation>
                    </entry>
                    <entry>
                        <observation classCode="OBS" moodCode="INT">
                            <code code="DE02.01.057.00" codeSystem="2.16.156.10011.2.2.1" codeSystemName="卫生信息数据元目录"
                                  displayName="下次访视地点"/>
                            <value xsi:type="ST">${docData.xiaCiSFAP.xiaCiSFDD}</value>
                        </observation>
                    </entry>
                </section>
            </component>
        </structuredBody>
    </component>
</ClinicalDocument>